package com.tangyuan.niochat.protocol.request;

import com.tangyuan.niochat.protocol.Packet;
import com.tangyuan.niochat.protocol.comman.Command;

import lombok.Data;

/**
 * Created on 2019-08-28
 * 登录请求数据包
 * @author fenghongyu
 */
@Data
public class LoginRequestPacket extends Packet {

    private Integer userId;
    private String passWord;

    @Override
    public Byte getCommand() {
        return Command.LOGIN_REQUEST;
    }
}
